<?php
	$data = $_POST['nama'];
	$pola = $_POST['tarif'];
	$keterangan = $_POST['keterangan'];
	if(isset($_POST['submit'])){
	$sql="insert into jenis_ppk (jenis, keterangan, id_pola) values ('$data','$keterangan',$pola)";
	$qry=mysql_query($sql);
	}
	$url_sukses='utama.php?module=mod_jppk';
	if($qry){
		echo "<meta http-equiv='refresh' content='0; url=$url_sukses'>";
		exit;
	}else{
		echo mysql_error();
	}
?>